import BasePath from "../config";

const flashSaleManage = {
    path: `${BasePath}/flash-sale/flash-sale-manage`,
    name: 'flash-sale-manage',
    component: () => import('@/views/home/operate-panel/flash-sale/flash-sale-manage.vue'),
    meta: {
        keepAlive: false
    }
}

const flashSaleAdd = {
    path: `${BasePath}/flash-sale/flash-sale-add`,
    name: 'flash-sale-add',
    component: () => import('@/views/home/operate-panel/flash-sale/flash-sale-add.vue'),
    meta: {
        keepAlive: false
    }
}



export default {
    path: `${BasePath}/flash-sale`,
	name: 'flash-sale',
	redirect:`${BasePath}/flash-sale/index`,
    component: () => import('@/views/home/operate-panel/flash-sale/index.vue'),
    meta: {
        keepAlive: false
    },
    children: [
        flashSaleManage,
        flashSaleAdd,
    ]
}
